Telegram Group & Telegram Channel
Вопрос с собеседования

Как изменится поведение метода wait(), если передать ему аргумент?

Ответ:

▶️ Если wait() вызывается без аргументов, поток переходит в состояние ожидания до вызова notify() или notifyAll()

▶️ Если передать аргумент (время ожидания), поток автоматически возобновит выполнение после истечения указанного времени, даже если notify() не был вызван

tags: #собеседование

📱 Java Developer | Чат
Please open Telegram to view this post
VIEW IN TELEGRAM



tg-me.com/java_tg/3088
Create:
Last Update:

Вопрос с собеседования

Как изменится поведение метода wait(), если передать ему аргумент?

Ответ:

▶️ Если wait() вызывается без аргументов, поток переходит в состояние ожидания до вызова notify() или notifyAll()

▶️ Если передать аргумент (время ожидания), поток автоматически возобновит выполнение после истечения указанного времени, даже если notify() не был вызван

tags: #собеседование

📱 Java Developer | Чат

BY Java Developer


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/java_tg/3088

View MORE
Open in Telegram


Java Developer | Переход Telegram | DID YOU KNOW?

Date: |

Telegram announces Search Filters

With the help of the Search Filters option, users can now filter search results by type. They can do that by using the new tabs: Media, Links, Files and others. Searches can be done based on the particular time period like by typing in the date or even “Yesterday”. If users type in the name of a person, group, channel or bot, an extra filter will be applied to the searches.

How Does Bitcoin Mining Work?

Bitcoin mining is the process of adding new transactions to the Bitcoin blockchain. It’s a tough job. People who choose to mine Bitcoin use a process called proof of work, deploying computers in a race to solve mathematical puzzles that verify transactions.To entice miners to keep racing to solve the puzzles and support the overall system, the Bitcoin code rewards miners with new Bitcoins. “This is how new coins are created” and new transactions are added to the blockchain, says Okoro.

Java Developer | Переход from kr


Telegram Java Developer
FROM USA